p7zip
Installation
The command to run the program is the following:
$ 7z
Examples
Add file/directory to the archive (or create a new one):
$ 7z a archive_name file_name
Also it is possible to set password with flag -p
and hide structure of the archive with flag -mhe=on
:
$ 7z a archive_name file_name -p -mhe=on
Update existing files in the archive or add new ones:
$ 7z u archive_name file_name
List the content of an archive:
$ 7z l archive_name
Extract all files from an archive to the current directory without using directory names:
$ 7z e archive_name
Extract with full paths:
$ 7z x archive_name
Extract into a new directory:
$ 7z x -ofolder_name archive_name
Check integrity of the archive:
$ 7z t archive_name
https://wiki.archlinux.org/title/P7zip
Category: Linux | Comments: 0